using Godot;
using System;

public partial class CharactersManager : Node2D
{
	// Called when the node enters the scene tree for the first time.
	public override void _Ready()
	{
		var children = GetChildren();
		foreach (var child in children)
		{
			Characters character = child as Characters;
			character.Initialize();
		}
	}

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
		var children = GetChildren();
		foreach (var child in children)
		{
			Characters character = child as Characters;
			character.Update(delta);
		}
	}
}
